<div class="panel panel-default panel-intro">
    {:build_heading()}
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
<!--                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('car/old/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>-->
<!--                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('car/old/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>-->
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('car/old/del')?'':'hide'}" title="{:__('Delete')}"><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a href="javascript:;" onclick="tui()" class="btn btn-success  btn-disabled disabled {:$auth->check('car/old/tui')?'':'hide'}" title="{:__('Delete')}" > 批量推荐</a>
                        <a href="javascript:;" onclick="sou()" class="btn btn-primary btn-disabled disabled {:$auth->check('car/old/sou')?'':'hide'}" title="{:__('Delete')}" > 批量热搜</a>
                        <a href="javascript:;" onclick="xiao()" class="btn btn-default btn-disabled disabled {:$auth->check('car/old/xiao')?'':'hide'}" title="{:__('Delete')}" > 批量热销</a>
                        <a href="javascript:;" onclick="haibao()" class="btn btn-default btn-disabled disabled }" title="{:__('Delete')}" > 生成海报</a>

                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('car/old/edit')}"
                           data-operate-del="{:$auth->check('car/old/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
    <!-- 定义弹窗的HTML -->
    <div id="popup" style="display: none">
        <form  action="" style="overflow: hidden; margin-top: 10px" >
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">权重:</label>
                <div class="col-xs-12 col-sm-8">
                    <input style="width: 200px" id="weight" class="form-control" type="number">
                </div>
                <input type="hidden" id="ids" value="">
                <button class="btn btn-primary btn-embossed" type="button" id="tongzhipost">提交</button>
            </div>
        </form>
    </div>
</div>
<!-- 定义弹窗的HTML -->
<div id="haibao" style="display: none;">
    <canvas id="poster-canvas" width="430" height="750"></canvas>
    <a style="margin: 1px 176px" href="javascript:;" onclick="baocun()" class="btn btn-success  btn-disabled " title="" >下载图片</a>
</div>

<script id="categorytpl" type="text/html">
    <div class="row">
        <div class="col-xs-12">
            <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area">

                <input id="c-city" class="form-control" data-toggle="city-picker" name="city" type="text" value="" />



            </div>
        </div>
    </div>
</script>